﻿using HuiLian.Common.Input;
using HuiLian.Common.Output;
using HuiLian.Model.Platform;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HuiLian.Service.HdlScada.HdlScadaSensorInfo
{
    public interface IHdlScadaSensorInfoService
    {
        /// <summary>
        /// 获取实时报警记录
        /// </summary>
        /// <param name="sensor_code">传感器编码</param>
        /// <returns></returns>
        Task<IResponseOutput> GetAsync(string sensor_code);

        /// <summary>
        /// 查询调用时间表信息
        /// </summary>
        /// <param name="input">分页信息</param>
        /// <returns></returns>
        Task<IResponseOutput> PageAsync(PageInput<HdlScadaSensorInfoEntity> input);

        Task<IResponseOutput> GetStationNameListAsync(string station_name);

        Task<IResponseOutput> GetSensorNameListByStationCodeAsync(string station_code, string sensor_name);

    }
}
